package com.bdc.activity;

import com.bdc.R;

import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceActivity;

public class SettingActivity extends PreferenceActivity {
	
	 public void onCreate(Bundle savedInstanceState) {
		 super.onCreate(savedInstanceState);
		// 设置对应�?��修改的配置文�?
		getPreferenceManager().setSharedPreferencesName("setting");
		addPreferencesFromResource(R.xml.setting);//加载
		
		//取�?
//		SharedPreferences settings=getSharedPreferences("setting", MODE_PRIVATE);
//		String str = settings.getString("mbt.hotel.guide", "xxx") ;
	 }
	 
}
